Label is Not Used (LNU)

Description:

LNU detects statement labels that are not used.

Incorrect:

int FindItem(object[] list, object item) {
    for (int i = 0; i < list.Length; i++) {
        if (list[i].Equals(item)) {
            return i;
        }
    }
notFound:
    return -1;
}

Correct:

int FindItem(Object[] list, Object item) {
    for (int i = 0; i < list.Length; i++) {
        if (list[i].Equals(item)) {
            return i;
        }
    }
    return -1;
}